package com.pine.dbant.core.web;


import com.pine.sunflower.core.model.Result;
import org.springframework.validation.annotation.Validated;

/**
 * 基础控制器类
 *
 * @author xyjxust
 * @create 2017/12/11 10:28
 **/
@Validated
public class BaseHandler {


    public Result success(){
        return Result.success();
    }

    public <T> Result success(T t){
        return Result.success(t);
    }

}
